body {
    max-width: 540px;
    min-width: 320px;
    margin: 0 auto;
    font: normal 14px/1.5 Tahoma, "Lucida Grande", Verdana, "Microsoft Yahei", STXihei, hei;
    color: #000;
    background: #f2f2f2;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
    height: 5000px;
    box-sizing: border-box;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: #222;
}

p {
    margin: 0 0px;
}

body {
    overflow: hidden;
}


/* 头部 */

header {
    width: 100%;
    height: 45px;
    display: flex;
    align-items: center;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
}

header a {
    height: 45px;
    width: 50px;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
}

header div {
    flex: 1;
    height: 26px;
    margin-left: 8px;
    border: 1px solid #cccccc;
    border-radius: 4px;
}

header a div {
    background-color: red;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: url(../img/sprite.png) no-repeat;
    background-size: 104px auto;
    background-position: -58px -191px;
}


/* banner */

.banner {
    margin-top: 8px;
    width: 100%;
    height: 107px;
}

.banner img {
    width: 100%;
    height: 107px;
}


/* nav1 */

.nav1 {
    height: 63px;
    display: flex;
    width: 98%;
    margin-left: 5px;
    border-radius: 5px;
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 2px 2px #cccccc;
    margin-top: 8px;
}

.nav1 a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
}

.nav1 a span:nth-child(1) {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: url(../img/localnav_bg.png) no-repeat 0 0;
    background-size: 64px auto;
    margin-top: 8px;
}

.nav1 a:nth-child(2) span:nth-child(1) {
    background: url(../img/localnav_bg.png) no-repeat 0 -32px;
}

.nav1 a:nth-child(3) span:nth-child(1) {
    background: url(../img/localnav_bg.png) no-repeat 0 -64px;
}

.nav1 a:nth-child(4) span:nth-child(1) {
    background: url(../img/localnav_bg.png) no-repeat 0 -96px;
}

.nav1 a:nth-child(5) span:nth-child(1) {
    background: url(../img/localnav_bg.png) no-repeat 0 -128px;
}


/* nav2 */

.nav2 {
    margin-top: 10px;
    width: 100%;
    display: flex;
    height: 271px;
    flex-direction: column;
}

.nav2 div[class^="box"] {
    margin-bottom: 5px;
    flex: 1;
    display: flex;
}

.nav2 div[class^="box"]:nth-child(1) {
    background: -webkit-linear-gradient(left, #fa5e55, #fa984d);
}

.nav2 div[class^="box"]:nth-child(2) {
    background: -webkit-linear-gradient(left, #4c90ed, #53bced);
}

.nav2 div[class^="box"]:nth-child(3) {
    background: -webkit-linear-gradient(left, #34c2aa, #6bd458);
}

.nav2 div[class^="box"] a {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.nav2 div[class^="box"] a:nth-child(n+1) {
    line-height: 4;
    text-align: center;
    font-size: 13px;
    color: #fff;
}

.nav2 div[class^="box"] a:nth-child(-n+2) {
    border-right: 1px solid #fff;
}

.nav2 div[class^="box"] a span:nth-child(n) {
    border-bottom: 1px solid #fff;
}

.nav2 div[class^="box"]:nth-child(1) a:nth-child(1) div {
    width: 84px;
    height: 65px;
    margin-left: 60px;
    background: url(../img/sprite.png) no-repeat 5px -259px;
    background-size: 208px auto;
}

.nav2 div[class^="box"]:nth-child(2) a:nth-child(1) div {
    width: 84px;
    height: 65px;
    margin-left: 60px;
    background: url(../img/sprite.png) no-repeat -2px -589px;
    background-size: 208px auto;
}

.nav2 div[class^="box"]:nth-child(3) a:nth-child(1) div {
    width: 84px;
    height: 65px;
    margin-left: 60px;
    background: url(../img/sprite.png) no-repeat 5px -361px;
    background-size: 208px auto;
}

.nav2 div[class^="box"] a:nth-child(1) p {
    height: 40px;
    line-height: 40px;
}


/* nav3 */

.nav3 {
    display: flex;
    height: 117px;
    flex-wrap: wrap;
    margin-top: 80px;
    border: 1px solid #ccc;
}

.nav3 a {
    display: flex;
    flex: 20%;
    flex-direction: column;
    text-align: center;
}

.nav3 a span:nth-child(1) {
    width: 26px;
    height: 26px;
    margin-left: 25px;
    margin-top: 6px;
    background: url(../img/subnav-bg.png) no-repeat;
}


/* nav4 */

.nav4 {
    margin-top: 10px;
    height: 45px;
}

.nav4 .zuo {
    width: 100px;
    height: 18px;
    line-height: 45px;
    background: url(../img/hot.jpg) no-repeat;
    background-size: auto 18px;
}

.fl {
    float: left;
}

.fr {
    float: right;
}


/* 5 */

.nav5 {
    width: 100%;
    height: 421px;
    display: flex;
    flex-wrap: wrap;
}

.nav5 a {
    flex: 50%;
}

.nav5 a:nth-child(-n+2) {
    height: 50%;
}

.nav5 a:nth-child(n+3) {
    height: 25%;
}

.nav5 img {
    width: 100%;
    height: 100%;
}